package com.testapp.bluetoothtest08.cipher.entity.user;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Iterator;

public class UserPrivateDataStr {
    public ArrayList<String> secList = new ArrayList<>();
    public String c;        //public Key
    public String p;        //private Key

    //phase 1 GM Data
    public String a, y, t2;

    public UserPrivateDataStr(UserPrivateData userData) {
        for (int i = 0; i < userData.secList.size(); i++) {
            this.secList.add(userData.secList.get(i).toString());
        }
        this.c = userData.c.toString();
        this.p = userData.p.toString();
        this.a = userData.a.toString();
        this.y = userData.y.toString();
        this.t2 = userData.t2.toString();
    }

    public UserPrivateDataStr(String a, String c, String p, ArrayList<String> secList, String t2, String y) {
        this.secList = secList;
        this.c = c;
        this.p = p;
        this.a = a;
        this.y = y;
        this.t2 = t2;
    }
    public UserPrivateDataStr(){

    }

    public ArrayList<String> getSecList() {
        return secList;
    }

    public void setSecList(ArrayList<String> secList) {
        this.secList = secList;
    }

    public String getC() {
        return c;
    }

    public void setC(String c) {
        this.c = c;
    }

    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    public String getT2() {
        return t2;
    }

    public void setT2(String t2) {
        this.t2 = t2;
    }
}
